<html>
<head><title>Kontakty</title></head>

<body>
{% include 'top.html' %}

<h1>Kontakty</h1>

<p>Lista kontaktów:</p>


<form action="/del-contact/" method="post">
{% for item in item_list %}
    <br/><input type="checkbox" name="checkbox" value="{{ item.id }}"/> :
    {{ item.type }}: {{ item.value }}: {{ item.person }}
    <a href="/edit-contact/{{ item.id }}/">Edytuj</a>
{% endfor %}

<p/>
<input type="submit" name="Del" value="Usun"/>
<br/>

</form>
<button onclick="window.location='/new-contact-type/'">Nowy typ kontaktu</button>

<!--
<input type="submit" name="New" value="New Contact Type" onclick="window.location='/new-contact-type/'"/>
-->

</body>
</html>
